package com.example.service.student;

import com.example.entity.DTO.StudentCourseDetailDTO;
import com.example.mapper.StudentCourseMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ExamService {
    @Resource
    private StudentCourseMapper studentCourseMapper;

    public List<StudentCourseDetailDTO> selectAllExam(Integer studentId) {
        return studentCourseMapper.selectAllByStudentId(studentId);
    }
}
